"""
<<<<<<< HEAD
@作者 = "陈诗"
@email = 3168157154@qq.com
=======
>>>>>>> fb1729f8a6efacb58805662088e89c80ca526666
@creative_time = 2025/10/8 16:48
"""
# 根据输入 输出乘法表
a = int(input("请输入一到九的数字："))  # 改str为int
for b in range(1, a + 1):
    for i in range(1, b + 1):
        print(f"{i}*{b} = {i * b:>2}", end="\t")  # >向右对齐并空2格 \t隔一个tab（四格）
    print()  # 自动换行
